
package CLIENT;

import java.net.Socket;

/**
 * This class represents a client in the Talk2Me system.
 * it contains client name , client's socket and a client ID
 * @author Yaniv Kalif
 */
public class Client
{
    String _name;
    Socket _socket;
    int _ID;
    public Client(String name,Socket s)
    {
        _name=name;
        _socket=s;
    }
    public String GetName(){return _name;}
    public void SetName(String name){ _name = name;}
    public Socket GetSocket(){return _socket;}
    public void SetID (int ID){ _ID = ID;}
    public int GetID (){ return _ID;}

}
